package com.wzc.controller;

import com.wzc.dto.Person;
import com.wzc.service.TestService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author：王直矗
 * @create：2019/7/26
 */
@Slf4j
@RestController
@RequestMapping("/test/aspect")
public class TestController {

    @RequestMapping("/test")
    public String test(String name){
        log.info("test 进来了");
        return "ok";
    }


}
